package com.web.base.user.model;

import com.blue.core.dict.State;
import com.blue.core.dict.Type;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;

import java.util.Date;

/**
 * 银行卡实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2018年06月26日
 */
@Table(name = "uc_bank_card")
public class BankCard
{
	@Id
	private Integer id; // 编号
	private Integer userId; // 用户编号
	private Integer bankId; // 银行编号
	private String facePic; // 正面图片
	private String backPic; // 背面图片
	private String owner; // 拥有人
	private String mobile; // 持卡人手机
	private String bankNo; // 卡号
	private Date expireDate; // 有效日期
	private State state; // 状态：0正常，1作废
	private Type auth; // 是否认证：0否，1是
	
	public BankCard()
	{
	}
	
	public Integer getId()
	{
		return this.id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public Integer getUserId()
	{
		return this.userId;
	}
	
	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}
	
	public Integer getBankId()
	{
		return this.bankId;
	}
	
	public void setBankId(Integer bankId)
	{
		this.bankId = bankId;
	}
	
	public String getFacePic()
	{
		return this.facePic;
	}
	
	public void setFacePic(String facePic)
	{
		this.facePic = facePic;
	}
	
	public String getBackPic()
	{
		return this.backPic;
	}
	
	public void setBackPic(String backPic)
	{
		this.backPic = backPic;
	}
	
	public String getOwner()
	{
		return this.owner;
	}
	
	public void setOwner(String owner)
	{
		this.owner = owner;
	}
	
	public String getMobile()
	{
		return this.mobile;
	}
	
	public void setMobile(String mobile)
	{
		this.mobile = mobile;
	}
	
	public String getBankNo()
	{
		return this.bankNo;
	}
	
	public void setBankNo(String bankNo)
	{
		this.bankNo = bankNo;
	}
	
	public Date getExpireDate()
	{
		return this.expireDate;
	}
	
	public void setExpireDate(Date expireDate)
	{
		this.expireDate = expireDate;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

	public Type getAuth()
	{
		return auth;
	}

	public void setAuth(Type auth)
	{
		this.auth = auth;
	}
}
